package com.vhall.component.plugin.common.support;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

/**
 * token实体
 *
 * @author longzhen.gong
 * @date 2021/6/21 10:50
 */
@Data
public class AdmToken implements Serializable {

    @JsonProperty("adminId")
    private Integer adminId;

    @JsonProperty("adminName")
    private String adminName;

    @JsonProperty("email")
    private String email;

    @JsonProperty("mobile")
    private String mobile;

    @JsonProperty("nickName")
    private String nickName;


    @JsonProperty("status")
    private Integer status;

    @JsonProperty("token")
    private String token;

    @JsonProperty("tokenExpire")
    private String tokenExpire;

    @JsonProperty("roleId")
    private Integer roleId;

    /**
     * 权限列表
     */
    private Set<String> permissions;
}
